import request from '@/utils/request'
import { commentServUrl } from '@/utils/constants'

export function getCommentList(params) {
    return request({
        url: commentServUrl + '/comments/',
        method: 'get',
        params
    })
}

export function delCommentById(id) {
    return request({
        url: commentServUrl + '/comment/' + id,
        method: 'delete'
    })
}
